#include<iostream>

#include "SGMemory.h"
#include"SGMath.h"
#include "SGOctree.h"
using namespace SG;
using namespace SG::Math;
using namespace SG::SceneManage;
using namespace std;
void main()
{
	Primitive* a=new AABB3D;
	((AABB3D *)a)->minPoint.SetData(-1,0,0);
	((AABB3D *)a)->maxPoint.SetData(0,1,1);
	int inwhich=a->inWhichNode(Vector3(0,0,0),1);
	cout<<inwhich<<endl;
}
